package com.jxd.project.travel.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.jxd.project.travel.dao.ILoginDao;
import com.jxd.project.travel.model.Login;
import com.jxd.project.travel.dto.LoginQueryDTO;
import com.jxd.project.travel.service.ILoginService;
import com.jxd.project.travel.vo.UserInfo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @ClassName LoginServiceImpl
 * @Description TODO
 * @Author 邢子剑
 * @Date 2025/10/5 下午3:39
 * @Version 1.0
 */
@Service
public class LoginServiceImpl extends ServiceImpl<ILoginDao, Login> implements ILoginService {
    @Autowired
    private ILoginDao loginDao;


    @Override
    public LoginQueryDTO login(LoginQueryDTO login) {
        return loginDao.login(login);
    }

    @Override
    public UserInfo login1(Login login) {
        return loginDao.login1(login);
    }
}
